﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000763 RID: 1891
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetMonopolyMbtiReportRewardScRsp : IMessage<GetMonopolyMbtiReportRewardScRsp>, IMessage, IEquatable<GetMonopolyMbtiReportRewardScRsp>, IDeepCloneable<GetMonopolyMbtiReportRewardScRsp>, IBufferMessage
	{
		// Token: 0x17001831 RID: 6193
		// (get) Token: 0x0600550A RID: 21770 RVA: 0x000E64EF File Offset: 0x000E46EF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetMonopolyMbtiReportRewardScRsp> Parser
		{
			get
			{
				return GetMonopolyMbtiReportRewardScRsp._parser;
			}
		}

		// Token: 0x17001832 RID: 6194
		// (get) Token: 0x0600550B RID: 21771 RVA: 0x000E64F6 File Offset: 0x000E46F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetMonopolyMbtiReportRewardScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001833 RID: 6195
		// (get) Token: 0x0600550C RID: 21772 RVA: 0x000E6508 File Offset: 0x000E4708
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetMonopolyMbtiReportRewardScRsp.Descriptor;
			}
		}

		// Token: 0x0600550D RID: 21773 RVA: 0x000E650F File Offset: 0x000E470F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetMonopolyMbtiReportRewardScRsp()
		{
		}

		// Token: 0x0600550E RID: 21774 RVA: 0x000E6518 File Offset: 0x000E4718
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetMonopolyMbtiReportRewardScRsp(GetMonopolyMbtiReportRewardScRsp other) : this()
		{
			this.rewardList_ = ((other.rewardList_ != null) ? other.rewardList_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600550F RID: 21775 RVA: 0x000E6564 File Offset: 0x000E4764
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetMonopolyMbtiReportRewardScRsp Clone()
		{
			return new GetMonopolyMbtiReportRewardScRsp(this);
		}

		// Token: 0x17001834 RID: 6196
		// (get) Token: 0x06005510 RID: 21776 RVA: 0x000E656C File Offset: 0x000E476C
		// (set) Token: 0x06005511 RID: 21777 RVA: 0x000E6574 File Offset: 0x000E4774
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemList RewardList
		{
			get
			{
				return this.rewardList_;
			}
			set
			{
				this.rewardList_ = value;
			}
		}

		// Token: 0x17001835 RID: 6197
		// (get) Token: 0x06005512 RID: 21778 RVA: 0x000E657D File Offset: 0x000E477D
		// (set) Token: 0x06005513 RID: 21779 RVA: 0x000E6585 File Offset: 0x000E4785
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06005514 RID: 21780 RVA: 0x000E658E File Offset: 0x000E478E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetMonopolyMbtiReportRewardScRsp);
		}

		// Token: 0x06005515 RID: 21781 RVA: 0x000E659C File Offset: 0x000E479C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetMonopolyMbtiReportRewardScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.RewardList, other.RewardList) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005516 RID: 21782 RVA: 0x000E65EC File Offset: 0x000E47EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.rewardList_ != null)
			{
				num ^= this.RewardList.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005517 RID: 21783 RVA: 0x000E6641 File Offset: 0x000E4841
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005518 RID: 21784 RVA: 0x000E6649 File Offset: 0x000E4849
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005519 RID: 21785 RVA: 0x000E6654 File Offset: 0x000E4854
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rewardList_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.RewardList);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600551A RID: 21786 RVA: 0x000E66B0 File Offset: 0x000E48B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.rewardList_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RewardList);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600551B RID: 21787 RVA: 0x000E6708 File Offset: 0x000E4908
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetMonopolyMbtiReportRewardScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.rewardList_ != null)
			{
				if (this.rewardList_ == null)
				{
					this.RewardList = new ItemList();
				}
				this.RewardList.MergeFrom(other.RewardList);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600551C RID: 21788 RVA: 0x000E6770 File Offset: 0x000E4970
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600551D RID: 21789 RVA: 0x000E677C File Offset: 0x000E497C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					if (num != 72U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.rewardList_ == null)
					{
						this.RewardList = new ItemList();
					}
					input.ReadMessage(this.RewardList);
				}
			}
		}

		// Token: 0x04002148 RID: 8520
		private static readonly MessageParser<GetMonopolyMbtiReportRewardScRsp> _parser = new MessageParser<GetMonopolyMbtiReportRewardScRsp>(() => new GetMonopolyMbtiReportRewardScRsp());

		// Token: 0x04002149 RID: 8521
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400214A RID: 8522
		public const int RewardListFieldNumber = 1;

		// Token: 0x0400214B RID: 8523
		private ItemList rewardList_;

		// Token: 0x0400214C RID: 8524
		public const int RetcodeFieldNumber = 9;

		// Token: 0x0400214D RID: 8525
		private uint retcode_;
	}
}
